aimlapi-protocols

Installation
SKILL.md

Any chat model on any protocol

Most chat models on AI/ML API answer on all three text protocols: POST /v1/chat/completions, POST /v1/responses and POST /v1/messages. When a model does not speak a protocol natively, the API translates the request and the answer. That lets an Anthropic-SDK app or Claude Code run DeepSeek or Gemini, and a Responses-API app or Codex run Claude or Qwen. A translated call costs the same as the native one.

When to use

  • "Run Gemini / DeepSeek / Kimi in Claude Code or with the Anthropic SDK"
  • "Use Claude or Qwen through the Responses API or Codex"
  • A translated call answers 400 with one of the codes in § Errors

Steps

1. Check that the model serves the protocol

curl -s 'https://api.aimlapi.com/v1/models?id=deepseek/deepseek-chat' -o models.json
python3 -c 'import json; [print(m["type"], m.get("translatedFrom", "native")) for m in json.load(open("models.json"))["data"]]'
Installs
2
Repository
aimlapi/skills
First Seen
6 days ago