> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT Academicでの使用

1. gpt\_academic/config.pyファイルを開きます：\\
   <img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/image16.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=461ecf466b641c1c2acd03a52e9b2401" alt="画像" width="847" height="341" data-path="public/cn/image16.png" />
2. config.py内のAPI\_KEY変数を見つけ、[当サイトのキー](https://aihubmix.com/token)を入力するだけです：\\
   <img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/image17.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=bf2557779c2388032d503f475fdb8e59" alt="画像" width="856" height="232" data-path="public/cn/image17.png" />
3. 下にスクロールし、config.py内のAPI\_URL\_REDIRECT変数を見つけ、次のように変更します（以下のコードブロックをそのままコピーして貼り付けてください）：

```
API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://aihubmix.com/v1/chat/completions"}
```

<img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/image18.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=65fc3d203180ae516ecd27052222a12c" alt="画像" width="1304" height="194" data-path="public/cn/image18.png" />

3\. これで使用できます。\\

<img src="https://mintcdn.com/aihubmix/_Cbum_77AgsRh-CI/public/cn/image19.png?fit=max&auto=format&n=_Cbum_77AgsRh-CI&q=85&s=b5cfcc3e264032b5bdb7f0b265120c95" alt="画像" width="1246" height="498" data-path="public/cn/image19.png" />

***

最終更新日：2026-06-01
