Skip to main content

CloudService for Claude Code

Use Claude Code with a native Claude-compatible CloudService gateway.

Claude Code uses a native Claude-style gateway. Choose a Claude-capable CloudService key, use the origin that matches its billing mode, and verify the model catalog before starting a large coding session.

Recommended key
Claude token key
Alternative
API-credit key
Protocol
Anthropic Messages
Base URL shape
Origin, without /v1

Native Claude routing is different from an OpenAI-style base URL.

Claude token key
Use a Claude-scoped prepaid token allowance with the /token origin. Claude Code appends its Messages API path; do not add /v1 to the configured gateway.
API-credit key
A both-scope API-credit key can use the root CloudService API origin for native Claude requests. Customer credits are deducted at the published CloudService model rates.
Model selection
Use an exact model ID returned by the authenticated Claude-capable catalog. A model shown elsewhere may not be available to a differently scoped key.

Claude Code gateway origins.

These are origins for native Claude clients, not OpenAI-compatible /v1 base URLs.

Claude token key

https://api.cloudservice.services/token

Recommended origin for a Claude token allowance.

API-credit key

https://api.cloudservice.services

Origin for a both-scope API-credit key.

A safe Claude Code setup sequence.

  1. Choose a Claude-capable key

    Buy a Claude token key or a both-scope API-credit key. An OpenAI-only token key cannot access Claude models.

  2. Run the CloudService setup

    Authenticate once and select Claude Code. The installer derives the gateway origin from the key instead of asking you to retype it.

  3. Verify catalog and streaming

    Run the CloudService doctor and model checks with a short request before using a large repository context.

  4. Troubleshoot with exact details

    Record the Claude Code version, model ID, HTTP status, and CloudService request ID. Never paste the full API key into a support ticket.

Claude Code compatibility boundaries.

  • CloudService is a compatible gateway; it is not the developer or manufacturer of Claude Code.
  • Claude Code and Claude Desktop have separate configuration surfaces and should be verified separately.
  • Model-specific tools and reasoning controls depend on the capabilities exposed by the selected route.
  • Do not use the OpenAI-compatible /v1 URL in Claude Code’s native gateway field.

Use the native gateway that matches your Claude key.

Guided setup separates Claude Code from OpenAI-compatible clients and verifies the connection before you begin.

Configure Claude Code