> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.reka.ai/chat/models/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.reka.ai/_mcp/server. Our baseline models always available for public access are: | model name | | ----------------------------- | | reka-flash | | reka-edge (or reka-edge-2603) | Other models may be available. The [Get Models](/chat/api-reference/get) API allows you to list what models you have available to you. **`OpenAI SDK`** ```python title="OpenAI SDK" from openai import OpenAI client = OpenAI( base_url="https://api.reka.ai/v1", api_key="YOUR_API_KEY", ) print(client.models.list()) ``` **`Python`** ```python title="Python" import requests response = requests.get( "https://api.reka.ai/v1/models", headers={ "X-Api-Key": "YOUR_API_KEY", }, ) data = response.json() print(data) ``` **`JavaScript`** ```javascript title="JavaScript" const response = await fetch('https://api.reka.ai/v1/models', { headers: { 'X-Api-Key': 'YOUR_API_KEY', }, }); const data = await response.json(); console.log(data); ``` **`Go`** ```go title="Go" package main import ( "fmt" "io" "net/http" ) func main() { req, _ := http.NewRequest("GET", "https://api.reka.ai/v1/models", nil) req.Header.Set("X-Api-Key", "YOUR_API_KEY") resp, _ := http.DefaultClient.Do(req) defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) fmt.Println(string(body)) } ``` **`Java`** ```java title="Java" import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.reka.ai/v1/models")) .header("X-Api-Key", "YOUR_API_KEY") .GET() .build(); HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); ``` **`REST`** ```shell title="REST" curl https://api.reka.ai/v1/models \ -H "X-Api-Key: YOUR_API_KEY" ``` This will give output like: ```json [ {"id": "reka-flash"}, {"id": "reka-edge-2603"}, ] ``` All of these model IDs can be used as values for the Chat API's [`model`](/chat/api-reference/create#request.body.model) parameter. For full listing of models and pricing, see the [Reka API Pricing page](/pricing). > Documentation for Reka AI APIs.