claude-haiku-3-5
Anthropic chat and reasoning model available through the GPT88 unified API.
Overview
- claude-haiku-3-5 is listed in the current GPT88 model catalog with model ID claude-haiku-3-5.
- This route uses a generic English integration profile because a model-specific editorial profile has not been published. Confirm current access and behavior before production use.
Best Use Cases
- Evaluate it when you need a chat and reasoning model and want to keep an existing GPT88 integration.
- Compare it with a model that already performs well on the same representative workload before changing a production default.
Integration Notes
- Keep the exact model ID claude-haiku-3-5 in the request body and use the endpoint displayed on this page.
- Call GET /v1/models or check the GPT88 console first to confirm that the current API key can access the model.
Usage Notes
- Availability, pricing, context limits, rate limits, routes, permissions, and feature support are determined by the current GPT88 console configuration.
- Generic catalog copy is not a model capability guarantee. Validate output quality, errors, latency, and usage on your own workload.
Capabilities
This model's Capabilities should be verified in the gpt88.cc console. This page focuses on protocol shape and request examples.gpt88.cc console for the real-time catalog.
Recommended Scenarios
This model's Recommended Scenarios should be verified in the gpt88.cc console. This page focuses on protocol shape and request examples.gpt88.cc console for the real-time catalog.
Endpoint Path
The endpoint path is determined by the model category. Chat, image, video, and audio models use different endpoints.
Send requests with Authorization: Bearer <API_KEY>. See Chat Completions API for the full parameter reference.
API Docs
Headers / Auth
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Required | Send Bearer <GPT88_API_KEY>. Create the API key in the gpt88.cc console. |
Content-Type | string | Required | Request body format. Audio transcription uploads use multipart/form-data.Default: application/json |
Accept | string | Optional | Non-streaming requests return JSON; streaming chat requests return SSE chunks. Default: application/json or text/event-stream |
AuthorizationstringRequiredSendBearer <GPT88_API_KEY>. Create the API key in the gpt88.cc console.Content-TypestringRequiredRequest body format. Audio transcription uploads usemultipart/form-data.Default:application/jsonAcceptstringNon-streaming requests return JSON; streaming chat requests return SSE chunks.Default:application/json or text/event-stream
Chat Protocol Differences
For chat models, the protocol used by the client matters as much as the model name. Claude Code / Anthropic SDK and OpenAI SDK build different request paths.
- Base URL
- https://api.gpt88.cc
- Endpoint
- POST /v1/chat/completions
- Body
- { "model": "claude-haiku-3-5", "messages": [...] }
- Base URL
- https://api.gpt88.cc
- Endpoint
- POST /v1/messages
- Body
- { "model": "claude-haiku-3-5", "messages": [...] }
This model is in the Claude family. Claude Code, Anthropic SDK, OpenClaw, and similar tools should prefer the Anthropic / Claude path.
Request Parameters
The fields below are generated by model category. Pricing, context limits, rate limits, and available routes should be confirmed in the gpt88.cc console.
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Required | Current model ID: claude-haiku-3-5. Preserve the exact casing when copying. |
messages | array<Message> | Required | Conversation history. Each message includes role and content. |
stream | boolean | Optional | Enable SSE streaming. Useful for chat interfaces and long responses. Default: false |
temperature | number | Optional | Sampling temperature. Higher values produce more variation; production workloads usually start with a fixed value. Default: 1 |
max_tokens | integer | Optional | Maximum output tokens for this request. Real context limits should be confirmed in the console. |
response_format | object | Optional | Structured output config, for example { "type": "json_object" }. |
tools | array<Tool> | Optional | Function-calling tool definitions. Availability depends on the model and account configuration. |
modelstringRequiredCurrent model ID:claude-haiku-3-5. Preserve the exact casing when copying.messagesarray<Message>RequiredConversation history. Each message includesroleandcontent.streambooleanEnable SSE streaming. Useful for chat interfaces and long responses.Default:falsetemperaturenumberSampling temperature. Higher values produce more variation; production workloads usually start with a fixed value.Default:1max_tokensintegerMaximum output tokens for this request. Real context limits should be confirmed in the console.response_formatobjectStructured output config, for example{ "type": "json_object" }.toolsarray<Tool>Function-calling tool definitions. Availability depends on the model and account configuration.
Response Fields
Response bodies generally follow OpenAI-compatible shapes. Media models may return async task IDs or resource URLs.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Required | Unique completion ID for tracing and debugging. |
object | string | Required | Usually chat.completion or a streaming chunk type. |
model | string | Required | Actual model ID that handled inference. |
choices | array<Choice> | Required | Generated choices including message, delta, and finish_reason. |
usage | object | Optional | Token usage statistics. Streaming calls may return this only at the end or in non-streaming mode. |
idstringRequiredUnique completion ID for tracing and debugging.objectstringRequiredUsuallychat.completionor a streaming chunk type.modelstringRequiredActual model ID that handled inference.choicesarray<Choice>RequiredGenerated choices includingmessage,delta, andfinish_reason.usageobjectToken usage statistics. Streaming calls may return this only at the end or in non-streaming mode.
Status Codes
| Field | Type | Required | Description |
|---|---|---|---|
200 | OK | Required | Request succeeded. See the response field table above for the response body shape. |
400 | Bad Request | Optional | Invalid request fields, such as missing required fields, unsupported image size format, or unsupported file type. |
401 | Unauthorized | Optional | API key is missing, invalid, or malformed. |
404 | Not Found | Optional | Endpoint or model not found. Confirm the path is /v1/chat/completions and the model ID is claude-haiku-3-5. |
429 | Rate Limited | Optional | Rate limit, concurrency cap, or insufficient balance. Check the console for the current allowance. |
5xx | Upstream Error | Optional | Upstream or request failure. Retry with the same Base URL and keep the request ID for debugging. |
200OKRequiredRequest succeeded. See the response field table above for the response body shape.400Bad RequestInvalid request fields, such as missing required fields, unsupported image size format, or unsupported file type.401UnauthorizedAPI key is missing, invalid, or malformed.404Not FoundEndpoint or model not found. Confirm the path is/v1/chat/completionsand the model ID isclaude-haiku-3-5.429Rate LimitedRate limit, concurrency cap, or insufficient balance. Check the console for the current allowance.5xxUpstream ErrorUpstream or request failure. Retry with the same Base URL and keep the request ID for debugging.
Errors and Troubleshooting
401: verifyAuthorizationisBearer <API_KEY>and the key is still valid.404: confirm the endpoint is/v1/chat/completionsand the model IDclaude-haiku-3-5is available in the console.429: reduce concurrency, shorten requests, or check balance and quota in the console.5xx: retry with the same Base URL and keep the request ID for debugging.
Request Examples
curl https://api.gpt88.cc/v1/chat/completions \
-H "Authorization: Bearer $GPT88_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-haiku-3-5",
"messages": [
{"role": "user", "content": "Introduce gpt88.cc in one sentence."}
]
}'Expected response (trimmed example):
{
"id": "chatcmpl-claude-h",
"object": "chat.completion",
"created": 1730000000,
"model": "claude-haiku-3-5",
"choices": [
{
"index": 0,
"finish_reason": "stop",
"message": { "role": "assistant", "content": "..." }
}
],
"usage": { "prompt_tokens": 24, "completion_tokens": 64, "total_tokens": 88 }
}