Infer

Skip to Content
Quickstart

Quickstart

Infer is a unified OpenAI-compatible endpoint for top AI models. This page walks you through the four things you need to start using it: an API key, the base URL, a connection test, and the model IDs you can call.

Get an API key

  1. Open the API Keys dashboard.
  2. Sign in or create a Infer account.
  3. Click Create API key, name it, and copy the generated key (format: sk-...).
  4. Add credits on the Credits page so the key can make paid calls.
Warning:

Keys are shown only once. Store them in a password manager or server-side secret store. Never commit them to source control or paste them into client-side code.

Base URL

Every Infer request goes to the same OpenAI-compatible endpoint. Use this value for the base_url / baseURL field in any SDK or the target URL for direct HTTP calls:

Base URL
https://api-infer.agentsey.ai/v1

The URL above is resolved for the environment you are signed in to, so copy-paste works without further editing.

Verify the connection

Run one of the snippets below with your key in place of your_api_key. A successful call returns a chat completion JSON payload, which confirms the key, the base URL, and your network are all working:

curl https://api-infer.agentsey.ai/v1/chat/completions \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

A successful response looks like this — the choices[0].message.content is the model’s reply, and the usage block shows the tokens billed against your credits:

200 OK
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "created": 1738960610,
  "model": "gpt-5.4",
  "choices": [
    {
      "index": 0,
      "message": { "role": "assistant", "content": "Hello! How can I help you today?" },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 13,
    "completion_tokens": 9,
    "total_tokens": 22
  }
}
Tip:

A 401 means the key is wrong or missing. A 404 on /chat/completions almost always means the base URL is missing the /v1 suffix; copy it from the block above.

Supported models

These are the model IDs you can use to test the connection — drop any one of them into the model field of the verification request above to check whether that specific model is currently callable on your account. The full catalog with live pricing lives on the Models page.

VendorModel IDInput (Credits / 1M)Output (Credits / 1M)Cache read (Credits / 1M)Cache write (Credits / 1M)
OpenAI
gpt-5.4
2001,20020250
gpt-5.5
3502,10035437.5
gpt-5.3-codex
1401,12014175
gpt-5.6-luna
14841.417.5
gpt-5.6-sol
2801,40028350
gpt-5.6-terra
14084014175
gpt-6-astra
7003,50070875
gpt-image-2
3201,200N/AN/A
gpt-oss-20b
31433
gpt-oss-120b
3.9193.93.9
Anthropic
claude-haiku-4-5
70350787.5
claude-opus-4-6
3501,75035437.5
claude-opus-5
3501,75035437.5
claude-fable-5
7003,50070875
claude-sonnet-4-6
2101,05021262.5
Google
gemini-2.5-flash
7.562.551.875N/A
gemini-2.5-flash-image
7.5750N/AN/A
gemini-3-pro-image-preview
804,800N/AN/A
gemini-3.1-flash-image-preview
20600N/AN/A
gemma-3-12b-it
41344
gemma-3-27b-it
81688
gemma-4-26b-a4b-it
13401313
gemma-4-31b-it
13381313
ByteDance Relay
seedance-2.0
N/A752.2N/AN/A
seedance-2.0-fast
N/A545.7N/AN/A
seedance-2.0-asset
N/A789.81N/AN/A
seedance-2.0-asset-fast
N/A572.985N/AN/A
BytePlus Official
seedance-2.0-official
N/A1,020.5413N/AN/A
seedance-2.0-fast-official
N/A740.5024N/AN/A
seedance-2.5-official
N/A1,016.5N/AN/A
seedance-2.5-asset-official
N/A1,067.325N/AN/A
seedance-2.0-asset-official
N/A1,071.885N/AN/A
seedance-2.0-asset-fast-official
N/A777.7175N/AN/A
Kuaishou
kling-v2-6
N/AN/AN/AN/A
kling-v3
N/AN/AN/AN/A
kling-v3-omni
N/AN/AN/AN/A
PixVerse
pixverse-c1
N/A3N/AN/A
pixverse-v6
N/A2.5N/AN/A
xAI
grok-4-1-fast
1332.53.25N/A
DeepSeek
deepseek-v4-pro
661982.266
deepseek-v4-flash
22660.722
deepseek-chat-v3-0324
207713.520
deepseek-chat-v3.1
15751515
deepseek-v3.1-terminus
21791321
deepseek-v3.2
3510530N/A
deepseek-v3.2-exp
27412727
Zhipu
glm-5.2
9830818.298
glm-4.5-air
13852.513
glm-4.6
391903939
glm-4.7
40175840
glm-4.7-flash
64016
glm-5
551761155
glm-5.1
7724214.377
Alibaba
qwen3.5-plus
8.0548.160.80510.0625
qwen3.5-plus-02-15
40240450
qwen3.5-flash
2.0320.090.2032.5375
qwen3.5-flash-02-23
1040112.5
qwen3.6-plus
19.32115.571.93224.15
qwen3.5-27b
302403030
qwen3.5-9b
10151010
qwen3.5-35b-a3b
252002525
qwen3.5-397b-a17b
3923419.539
qwen3-coder
221802222
qwen3-coder-plus
40.18160.584.01850.225
qwen3-coder-next
1480914
qwen3-32b
82448
qwen3-235b-a22b-2507
10601010
qwen3-30b-a3b-instruct-2507
93099
qwen3-next-80b-a3b-instruct
911099
qwen3-vl-235b-a22b-instruct
20881120
Moonshot
kimi-k2.5
42210742
kimi-k2.6
66.528011.266.5
kimi-k3
2101,05021210
MiniMax
MiniMax-M2.5
21844.226.25
MiniMax-M2.7
21844.226.25
Baidu
ernie-5.0
98392N/AN/A
Meta
llama-3.1-8b-instruct
2522
llama-3.1-70b-instruct
40404040
llama-3.3-70b-instruct
10321010
llama-4-maverick
15601515
Mistral
mistral-nemo
2422
mistral-small-3.2-24b-instruct
7.5207.57.5
Xiaomi
mimo-v2-flash
9294.59
mimo-v2.5
40200840
mimo-v2.5-pro
10030020100
NVIDIA
nemotron-3-nano-30b-a3b
52055
nemotron-3-super-120b-a12b
94599
StepFun
step-3.5-flash
10301010

Supported tools

Infer works with any client that accepts a custom OpenAI-compatible base URL. Pick the integration path that matches how you use AI, and follow its setup guide:

  • CLI agents: terminal agents including Codex, Claude Code, and OpenCode.
  • VS Code extensions: the first-party Codex plugin and other extensions that read a custom OpenAI endpoint.
  • Direct API: any application, SDK, or script that speaks the OpenAI /chat/completions protocol. See the API reference for full details.

What’s next

  • Base URL for this environment: https://api-infer.agentsey.ai/v1.
  • Manage keys and view usage on the API Keys dashboard.
  • Browse the full Models catalog with live pricing.
  • Read the API reference for authentication, error codes, and privacy.
Last updated on