---
title: "Chat Completions"
method: POST
path: "/sdk/v1.0/chat/completions"
tags: ["LLM Proxy"]
---

# Chat Completions

`POST /sdk/v1.0/chat/completions`

OpenAI-compatible chat completions endpoint.

Proxies requests to OpenRouter, handling authentication and usage tracking.

Usage with OpenAI SDK:
```typescript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.REBOLT_API_KEY,
  baseURL: "https://sdk.rebolt.ai/sdk/v1.0",
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4",
  messages: [{ role: "user", content: "Hello!" }],
});
```

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/rebolt/apis/fastapi.md) · [All operations](https://skmtc.dev/rebolt/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rebolt/fastapi/revisions/ee5884f323f3/schema)
