Model API directory · Claude

Claude Sonnet 5.5 API

Call Claude Sonnet 5.5 with the model ID claude-sonnet-5-5 through the OpenAI-compatible API at cloudgpu.app. One key works for every model in the directory, and usage is charged from a prepaid balance with no monthly minimum. The Claude Messages API at /v1/messages takes the same key, so Claude Code can use it too.

$1.00 per 1M input tokens, $5.00 per 1M output tokens

Price and specs

Model IDclaude-sonnet-5-5
EndpointPOST /v1/chat/completions
EndpointPOST /v1/messages
Input / 1M tokens$1.00
Output / 1M tokens$5.00
Cached input / 1M tokens$0.05
Context (tokens)1,000,000

Prices are read from the live billing table, the same data as the table on /api. CloudGPU is an independent service, not the official Claude API.

What common workloads cost

WorkloadCost
1M input + 1M output tokens$6.00
1,000 chat replies (1,000 tokens in, 500 out each)$3.50
Summarize 100 long documents (50,000 tokens in, 1,000 out each)$5.50
Coding agent session (2M input tokens, 80% cache hits, 60,000 out)$0.78

Estimates multiply the token counts by the prices above. Your bill uses the token counts returned with each response.

Call Claude Sonnet 5.5 from code

Create a key in the API console and use it in place of cgw-sk-... (or set CLOUDGPU_API_KEY). OpenAI-format clients use the base URL https://cloudgpu.app/v1.

curl
curl https://cloudgpu.app/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $CLOUDGPU_API_KEY" \
  -d '{
    "model": "claude-sonnet-5-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Python
# pip install openai
from openai import OpenAI

client = OpenAI(api_key="cgw-sk-...", base_url="https://cloudgpu.app/v1")
resp = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
Node.js
// npm install openai
import OpenAI from "openai";

const client = new OpenAI({ apiKey: process.env.CLOUDGPU_API_KEY, baseURL: "https://cloudgpu.app/v1" });
const resp = await client.chat.completions.create({
  model: "claude-sonnet-5-5",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(resp.choices[0].message.content);

Use Claude Sonnet 5.5 in Claude Code

Claude Code
export ANTHROPIC_BASE_URL=https://cloudgpu.app
export ANTHROPIC_AUTH_TOKEN=cgw-sk-...
export ANTHROPIC_MODEL=claude-sonnet-5-5
export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-sonnet-5-5
claude

Use the bare host as the base URL; Claude Code adds /v1/messages itself. The Haiku slot has to point at a listed model.

Full Claude Code setup guide

Compare with similar models

ModelInput / 1M tokensOutput / 1M tokensContext (tokens)
Claude Sonnet 5.5$1.00$5.001M
Claude Opus 5.5$2.00$10.001M
Claude Opus 5$2.50$12.501M
Claude Opus 4.8$2.50$12.501M
Claude Opus 4.7$2.50$12.501M
Claude Opus 4.6$2.50$12.501M
Claude Sonnet 5$1.00$5.001M
Claude Sonnet 4.6$1.50$7.501M
Claude Fable 5.1$5.00$25.001M

Claude Sonnet 5.5 API questions

How much does the Claude Sonnet 5.5 API cost?

$1.00 per 1M input tokens, $5.00 per 1M output tokens on cloudgpu.app. You pay only for what you use, from a prepaid balance with no monthly minimum.

Is the Claude Sonnet 5.5 API OpenAI-compatible?

Yes. Send requests to /v1/chat/completions with the model ID claude-sonnet-5-5. The OpenAI Python and Node SDKs work once the base URL is set to https://cloudgpu.app/v1.

What is the context window of Claude Sonnet 5.5?

Claude Sonnet 5.5 accepts up to 1,000,000 tokens of context on cloudgpu.app.

How do I get an API key for Claude Sonnet 5.5?

Sign up at cloudgpu.app, add balance, and create a key in the API console. The same cgw-sk key works for every model in the directory.