Everything you need to use TexAPI: pick the right tool for the model, integrate with one command or by hand, call the API directly, and debug when something fails.
Three steps from nothing to a first successful request. The whole journey takes about five minutes.
Each TexAPI model family comes from a different upstream supplier, and some suppliers only accept the vendor's official client. This matrix tells you up front: which families your tool can call, and which pairings are blocked outright.
Before the matrix, the shortest answer: which families demand the right tool, and which accept anything. For the gated families, the wrong tool is rejected outright — there is no conversion path.
These families' suppliers check the client: only the vendor's official client passes. Any other tool gets an immediate 400 — check the matrix below before calling.
These families' suppliers accept any well-formed client, no shape check. Every tool calls them directly.
Rows are tools, columns are families. Each cell shows its compatibility level by colour — hover a cell for that level's explanation.
| Tool | Claude | GPT / Codex | Gemini | Grok | Kimi | Open |
|---|---|---|---|---|---|---|
Claude Code /v1/messages | Direct | Cannot call | Via converter + CLI shaping | Via converter + CLI shaping | Direct | Via converter |
Codex CLI /v1/responses | Cannot call | Direct | Cannot call | Direct | Cannot call | Via converter |
Gemini CLI :generateContent | Cannot call | Cannot call | Direct | Cannot call | Cannot call | Via converter |
Cline /v1/chat/completions | Cannot call | Cannot call | Via converter | Via converter + CLI shaping | Via converter + CLI shaping | Direct |
Roo Code /v1/chat/completions | Cannot call | Cannot call | Via converter | Via converter + CLI shaping | Via converter + CLI shaping | Direct |
Continue /v1/chat/completions | Cannot call | Cannot call | Via converter | Via converter + CLI shaping | Via converter + CLI shaping | Direct |
aider /v1/chat/completions | Cannot call | Cannot call | Via converter | Via converter + CLI shaping | Via converter + CLI shaping | Direct |
Zed /v1/chat/completions | Cannot call | Cannot call | Via converter | Via converter + CLI shaping | Via converter + CLI shaping | Direct |
The same matrix, pivoted by tool — for when you are setting a tool up and asking “which model?”.
Why the family is picky, the only tool that works, and the error you get when calling it wrong.
One command configures every tool on your machine: detects installed tools, asks for approval in your browser, issues a per-machine key, and writes the config exactly where each tool reads it. Clean rollback with one disconnect.
Single requirement: Node.js on the machine. No admin rights — the connector only writes your own user's files.
If you would rather configure things yourself, use a machine without Node.js, or simply want to understand what the tool reads — this is the exact configuration for each tool. These are the very things the connector writes, not a paraphrase.
TexAPI serves all four industry-standard interfaces — use any vendor's official SDK or plain HTTP. All authenticate with Authorization: Bearer sk-texapi-… (Gemini also accepts x-goog-api-key).
Every endpoint takes a TexAPI key via Authorization: Bearer sk-texapi-…, created at dashboard → API keys. The connector gives one key per machine; keys you manage yourself can be named freely.
Every text endpoint supports streaming (SSE): set "stream": true in the body (Gemini uses :streamGenerateContent?alt=sse). Usage on streams is always reported fully by TexAPI — even when upstream omits it.
/v1/images/generations and /v1/images/edits follow the OpenAI Images interface — for the image models listed in dashboard → Models (pricing_type per_image).
GET /v1/models returns every model enabled for your key, each with its toolCompat field — the same data this page's matrix is built from.
The complete OpenAPI 3.1 spec lives at /openapi.json and /openapi.yaml — load it into Postman/Insomnia or generate an SDK.
Prices are USD / 1M tokens, kept in real time with the dashboard's price table. Pure pay-as-you-go — no hidden fees, money is only deducted for successful requests.
Current plans and top-up tiers (see the Pricing page for the full UI):
| Plan | Monthly | Included | RPM |
|---|---|---|---|
| Starter | $12 | $12 | 200 |
| Builder | $29 | $29 | 400 |
| Pro | $79 | $79 | 800 |
| Team | $199 | $199 | 1500 |
Some models have a staircase price by context: the deeper the context, the ratio of the matching step. The staircase is shown on each model's page in Models — use the Calculator tab to estimate a run before you make it.
Reading from a model's prompt cache is billed separately, cheaper than fresh input — the rate shows in each model's “Cached input” row. No row = that model has no separate cache rate.
Each plan caps requests per minute (rpm) and concurrent requests (default concurrent = rpm ÷ 8). A 429 comes with a Retry-After header — well-behaved tools wait and retry by themselves.
The cause is almost always a tool ↔ model mismatch. Match the message you received:
Still stuck? Open the support chat widget at the bottom right — technical support answers within business hours.