> For the complete documentation index, see [llms.txt](https://docs.tinyapi.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tinyapi.org/claude-desktop.md).

# Claude Desktop ตั้งค่า

## คู่มือใช้งาน Claude Desktop กับ TinyToken

**CC-Switch ใช้งาน** · 2026/6/8 · อ่านไม่เกิน 5 นาที

คู่มือใช้งาน Claude Desktop กับ TinyToken ผ่าน CC-Switch

## 1. เปิด CC-Switch แล้วเลือก Claude Desktop

ในหน้า CC-Switch ให้เลือกไอคอน Claude Desktop จากนั้นกดปุ่ม + เพื่อเพิ่ม Provider ใหม่

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-5e090dfeebec34e01aad54db97b8fbaa26042c41%2Fclaude-desktop-01.png?alt=media)

เลือก Claude Desktop แล้วกด +

## 2. คัดลอก API Key จาก TinyToken

เปิดหน้า API Keys ใน TinyToken แล้วกดปุ่มคัดลอก API Key

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-79fb3a521d605e50e5863ae3941aa83777833350%2Fclaude-desktop-02.png?alt=media)

คัดลอก API Key จาก TinyToken

## 3. กรอก API Key และ Endpoint

Provider Name: TinyToken

Website URL: <https://tinyapi.org>

API Key: วาง API Key ที่คัดลอกมา

API Endpoint / Base URL: <https://api.tinyapi.org> แล้วกด Save

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-d863ec99a717f2316715db9f053ebfa468980b31%2Fclaude-desktop-03.png?alt=media)

กรอก API Key และ Endpoint

## 4. ดึงรายชื่อโมเดล

กด Fetch Models เพื่อให้ CC-Switch ดึงรายชื่อโมเดลจาก TinyToken

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-e85255af6c3b488ed304e1966b65cf66caa68c3f%2Fclaude-desktop-04.png?alt=media)

กด Fetch Models

## 5. เลือกโมเดลที่ต้องการ

เลือกโมเดล เช่น claude-opus-4-6, claude-opus-4-7 หรือ claude-sonnet รุ่นที่ต้องการ แล้วกด Save

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-cb5442d897e04091c7484db2fffb945db4509d8e%2Fclaude-desktop-05.png?alt=media)

เลือกโมเดลและกด Save

## 6. เปิด Routing ใน CC-Switch

ไปที่ Settings > Routing แล้วเปิด Show Routing Toggle on Main Page, Routing Master Switch และเปิด Claude

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-9d1b678e94793af33b194dcd04a7a36843d6b6bd%2Fclaude-desktop-06.png?alt=media)

เปิด Routing Master Switch และ Claude

## 7. เปิด Inference configuration ใน Claude Desktop

ใน Claude Desktop ให้เปิดเมนูด้านซ้ายล่าง แล้วเลือก Inference configuration

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-2a1172a2fea5c1b9f624935c0e476c01b69be5ca%2Fclaude-desktop-07.png?alt=media)

เปิด Inference configuration

## 8. เลือก Gateway และทดสอบ

ใน Connection ให้เลือก Gateway ใส่ <https://api.tinyapi.org> และ API Key จากนั้นกด Test connection และ Test model discovery

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-6d5579cfc58206fafd1550a33d222c65b4aa52b3%2Fclaude-desktop-08.png?alt=media)

ตั้งค่า Gateway และทดสอบการเชื่อมต่อ

## 9. Apply แล้วเริ่มใช้งาน

กด Apply Changes แล้วปิด Claude Desktop ให้สนิท จากนั้นเปิดใหม่อีกครั้ง

## 1. ใน Claude Desktop

ไปที่ Inference configuration > Connection แล้วเลือก Anthropic API จากนั้นกด Apply Changes และเปิด Claude Desktop ใหม่

![รูปประกอบคู่มือ](https://524826316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzefZXBaGhZNtvOIDrgZR%2Fuploads%2Fgit-blob-9c5f480491a403e6225dcd6f4635502563d84ab0%2Fclaude-desktop-09.png?alt=media)

เลือก Anthropic API เพื่อกลับไปใช้ Claude Desktop แบบเดิม

## 2. ใน CC-Switch

อีกวิธีคือเลือก Claude Desktop Official แล้วกด Enable จากนั้นปิดและเปิด Claude Desktop ใหม่

## Prompt สำหรับ Codex

ใช้เนื้อหาและรูปในเอกสารนี้สร้างหน้า API Docs ภาษาไทยสำหรับหัวข้อ “วิธีใช้งาน Claude Desktop กับ TinyToken ผ่าน CC-Switch” จัดลำดับขั้นตอน 1-9 ให้สั้น อ่านง่าย และใส่ส่วนท้าย “วิธีกลับไปใช้ Claude Desktop แบบเดิม”


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tinyapi.org/claude-desktop.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
