Back to Documentation

Getting Started

Learn how to connect to ValueAPI, authenticate your requests, and understand model compatibility.

App Compatibility

The vast majority of AI applications support the OpenAI Standard interface. To connect them to ValueAPI, you only need to update the API base URL to:

https://api.valueapi.ai/v1

Here are step-by-step integration guides for popular AI tools and platforms:

Model Compatibility

Our API is fully compatible with the OpenAI interface protocol, supporting seamless integration with any application or SDK that supports OpenAI interfaces.

Note

All chat models (including non-OpenAI models) support the official OpenAI libraries. Please follow OpenAI's request methods for URLs and formats.
Reference: OpenAI Official Documentation

Chat Interface TypeEndpointDescription
OpenAI Standard/v1/chat/completionsCan request all chat-type models on our platform (including non-OpenAI models).
OpenAI New Format/v1/responsesOnly supported by some new OpenAI models. We recommend using the standard format above.
Claude Native/v1/messagesCan only request models that support Claude's native format. Other models will return an error.
Gemini Native/v1beta/models/...Can only request Gemini models. Parameters must use lowerCamelCase (e.g., imageSize is correct, image_size is incorrect).

Warning

Claude models only support prompt caching when using the native /v1/messages endpoint.

Authentication

All API requests must include your API Key in the HTTP Header as shown below:

Data FormatHeader Parameter
OpenAI StandardAuthorization: Bearer sk-xxx
Claude Nativex-api-key: sk-xxx
anthropic-version: 2023-06-01
Gemini Nativex-goog-api-key: sk-xxx

API Base URL

You can view your current API base URL in the Dashboard of the ValueAPI console. For most integrations, use the following base URL:

https://api.valueapi.ai/v1

References