Browser tab content: # XInTheDark/raycast-g4f: Raycast extension to use GPT, Claude, Llama, and more... all for FREE. No API Key required!

## Raycast-G4F (GPT4Free)

[](#raycast-g4f-gpt4free)

**Use the powerful GPT-4, Llama-3 and more AI models on Raycast, for FREE - no API Key required.**

Homepage · [Privacy Policy](https://github.com/XInTheDark/raycast-g4f/blob/main/Privacy.md)

## Screenshots

[](#screenshots)

[![1](https://private-user-images.githubusercontent.com/61100393/352804386-1085b901-c72f-4bd9-9a37-473057e95393.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQzODYtMTA4NWI5MDEtYzcyZi00YmQ5LTlhMzctNDczMDU3ZTk1MzkzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1MWQyMDM3MjI1NGMyYzExMjA5MDJjODlkNWNkZjc2NTg1MjVhNzBiMGZlODg1ZTQyNmJkYmQ5NDc1NzY0YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OYE6Vg6bauK-cR1JVCsYjoMI42zvT6FV2jRG7_rs9kE)](https://private-user-images.githubusercontent.com/61100393/352804386-1085b901-c72f-4bd9-9a37-473057e95393.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQzODYtMTA4NWI5MDEtYzcyZi00YmQ5LTlhMzctNDczMDU3ZTk1MzkzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1MWQyMDM3MjI1NGMyYzExMjA5MDJjODlkNWNkZjc2NTg1MjVhNzBiMGZlODg1ZTQyNmJkYmQ5NDc1NzY0YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OYE6Vg6bauK-cR1JVCsYjoMI42zvT6FV2jRG7_rs9kE) [![2](https://private-user-images.githubusercontent.com/61100393/352804399-fb74f124-f1ac-4957-928e-363394ac0c3b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQzOTktZmI3NGYxMjQtZjFhYy00OTU3LTkyOGUtMzYzMzk0YWMwYzNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmY2JlZjk0YWNhMWU3YjBhZjI1NjZmNTNhMzg0MjY3OTZlNWQyMzdjMjIwMzA3ZDI2Y2ZmNjVkNmFhZmFiNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QASa888Ol9wUAQqbj_tBkXi_9tZFpsLRTpGXByBa0y4)](https://private-user-images.githubusercontent.com/61100393/352804399-fb74f124-f1ac-4957-928e-363394ac0c3b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQzOTktZmI3NGYxMjQtZjFhYy00OTU3LTkyOGUtMzYzMzk0YWMwYzNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmY2JlZjk0YWNhMWU3YjBhZjI1NjZmNTNhMzg0MjY3OTZlNWQyMzdjMjIwMzA3ZDI2Y2ZmNjVkNmFhZmFiNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QASa888Ol9wUAQqbj_tBkXi_9tZFpsLRTpGXByBa0y4) [![3](https://private-user-images.githubusercontent.com/61100393/352804404-cf425e1a-8eaa-49d1-af31-e5fe8c6702db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQ0MDQtY2Y0MjVlMWEtOGVhYS00OWQxLWFmMzEtZTVmZThjNjcwMmRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2YTA4YWYxZWM5Njk0MWI2MGUzZmJiNmQ0OGU0MWFkMzZmMDIzMTkyYTEzMmQ3YzNmNjQ0YTkyYzFiNzZmYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rjtV1XN80zqdvCcf7WZ7x0CNIcWUC_oNQiXEBHf2fk4)](https://private-user-images.githubusercontent.com/61100393/352804404-cf425e1a-8eaa-49d1-af31-e5fe8c6702db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQ0MDQtY2Y0MjVlMWEtOGVhYS00OWQxLWFmMzEtZTVmZThjNjcwMmRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2YTA4YWYxZWM5Njk0MWI2MGUzZmJiNmQ0OGU0MWFkMzZmMDIzMTkyYTEzMmQ3YzNmNjQ0YTkyYzFiNzZmYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rjtV1XN80zqdvCcf7WZ7x0CNIcWUC_oNQiXEBHf2fk4) [![4](https://private-user-images.githubusercontent.com/61100393/352804406-7ab0da34-8f4d-4414-9548-901336e85588.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQ0MDYtN2FiMGRhMzQtOGY0ZC00NDE0LTk1NDgtOTAxMzM2ZTg1NTg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1ODlhZGI5MzJhNTg5MTgwMThjMWVlNmFjZDk2YzUwMzliMjc0MzJjNjExZDU1YzdhNDdlYWQxYjQ2YmE5YjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6jKfQ5vTclcGpaFF7knGLLAAnofO2gP7ZIxrNqbcLhk)](https://private-user-images.githubusercontent.com/61100393/352804406-7ab0da34-8f4d-4414-9548-901336e85588.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI4NzkzOTYsIm5iZiI6MTczMjg3OTA5NiwicGF0aCI6Ii82MTEwMDM5My8zNTI4MDQ0MDYtN2FiMGRhMzQtOGY0ZC00NDE0LTk1NDgtOTAxMzM2ZTg1NTg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTI5VDExMTgxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1ODlhZGI5MzJhNTg5MTgwMThjMWVlNmFjZDk2YzUwMzliMjc0MzJjNjExZDU1YzdhNDdlYWQxYjQ2YmE5YjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6jKfQ5vTclcGpaFF7knGLLAAnofO2gP7ZIxrNqbcLhk)

## Getting Started

[](#getting-started)

"If you like the extension, please consider giving it a ✨star✨ tysm!" - the developer, probably

### Installation

[](#installation)

This extension is currently not available on the Raycast Extension store, but installation from source is extremely simple.

1.  Download the source code from [the latest release](https://github.com/XInTheDark/raycast-g4f/releases/latest), or clone the repository.
2.  Navigate to the directory, and open a Terminal window at the downloaded folder.
3.  Run `npm ci --production` to install required dependencies.
4.  (Optional) Run `pip install -r requirements.txt` to install Python dependencies. These are required for some features, e.g. web search.
5.  Run `npm run dev` to build and import the extension.

The extension, and its full set of commands, should then show up in your Raycast app.

#### Troubleshooting

[](#troubleshooting)

Please open an issue if any unexpected problems occur during installation.

### Updating

[](#updating)

#### Automatically

[](#automatically)

There is built-in support for updating within the extension itself! Simply run the "Check for Updates" command in the extension, and it will take care of the update process for you. Furthermore, you can also enable the "Automatically Check for Updates" feature in the preferences.

#### Manually

[](#manually)

In the command line, run `git pull`, `npm ci --production` and `npm run dev` (in that order).

You might want to update manually if the automatic update doesn't work (please also open a GitHub issue if this is the case); updating manually also allows you to fetch and view the latest changes to the source code.

## Summary

[](#summary)

-   ▶️️ Streaming support - see messages load in real-time, providing a seamless experience.
-   ⚡ Ask anything from anywhere - with 18 commands available, there's something for you no matter what you need.
-   💪 Support for many providers & models (more info below!)
-   💬 Chat command - interact with the AI in a conversation, and your chat history will be stored in the extension.
-   🌐 Web search - let GPT search the web for the latest information.
-   📄 File upload - you can upload image, video, audio and text files to the AI. (only available for a few providers, more to come!)
-   🎨 Image generation capabilities - imagine anything, and make it reality with state-of-the-art models.
-   ✏️ Custom AI Commands - create your own commands with custom prompts!

## Providers & Models

[](#providers--models)

Provider

Model

Features

Status

Speed

Rating and remarks by extension author

Nexra

gpt-4o (default)

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

8.5/10, the best performing model.

Nexra

gpt-4-32k

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

6.5/10, no streaming support but otherwise a great model.

Nexra

chatgpt

▶️

[![Unknown](https://camo.githubusercontent.com/24475ebd19dc5159a807a56578df74a7d73d3cb0d4be5316510ce1e7e59a20b0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f556e6b6e6f776e2d67726579)](https://camo.githubusercontent.com/24475ebd19dc5159a807a56578df74a7d73d3cb0d4be5316510ce1e7e59a20b0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f556e6b6e6f776e2d67726579)

Very fast

7.5/10

Nexra

Bing

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

8/10, GPT-4 based with web search capabilities.

Nexra

llama-3.1

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7/10

Nexra

gemini-1.0-pro

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

6.5/10

DeepInfra

meta-llama-3.2-90b-vision

▶️ 📄¹

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8.5/10, recent model with vision capabilities.

DeepInfra

meta-llama-3.2-11b-vision

▶️ 📄¹

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

7.5/10

DeepInfra

meta-llama-3.1-405b

▶️

[![Inactive](https://camo.githubusercontent.com/9d0b688f0dbf1c147a3f0fc027c5262f860b07646cb9ea4cda5110a951b31dec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e6163746976652d726564)](https://camo.githubusercontent.com/9d0b688f0dbf1c147a3f0fc027c5262f860b07646cb9ea4cda5110a951b31dec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e6163746976652d726564)

Medium

8.5/10, state-of-the-art open model, suitable for complex tasks.

DeepInfra

meta-llama-3.1-70b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8/10, recent model with large context size.

DeepInfra

meta-llama-3.1-8b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

7.5/10, recent model with large context size.

DeepInfra

llama-3.1-nemotron-70b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8/10

DeepInfra

WizardLM-2-8x22B

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

7/10

DeepInfra

DeepSeek-V2.5

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7.5/10

DeepInfra

Qwen2.5-72B

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

7.5/10

DeepInfra

Qwen2.5-Coder-32B

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7/10

Blackbox

custom model

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7.5/10, very fast generation with built-in web search ability, but is optimized for coding.

Blackbox

llama-3.1-405b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8.5/10

Blackbox

llama-3.1-70b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

8/10

Blackbox

gemini-1.5-flash

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

7.5/10

Blackbox

gpt-4o

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

7.5/10

Blackbox

claude-3.5-sonnet

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8.5/10

Blackbox

gemini-pro

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8/10

DuckDuckGo

gpt-4o-mini

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

8/10, authentic GPT-4o-mini model with strong privacy.

DuckDuckGo

claude-3-haiku

▶️️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

7/10

DuckDuckGo

meta-llama-3.1-70b

▶️️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

7.5/10

DuckDuckGo

mixtral-8x7b

▶️️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

7.5/10

BestIM

gpt-4o-mini

▶️

[![Inactive](https://camo.githubusercontent.com/9d0b688f0dbf1c147a3f0fc027c5262f860b07646cb9ea4cda5110a951b31dec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e6163746976652d726564)](https://camo.githubusercontent.com/9d0b688f0dbf1c147a3f0fc027c5262f860b07646cb9ea4cda5110a951b31dec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e6163746976652d726564)

Extremely fast

8.5/10

Rocks

claude-3.5-sonnet

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8.5/10

Rocks

claude-3-opus

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

8/10

Rocks

gpt-4o

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7.5/10

Rocks

gpt-4

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7.5/10

Rocks

llama-3.1-405b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

7.5/10

Rocks

llama-3.1-70b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

7/10

ChatgptFree

gpt-4o-mini

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

8.5/10

AI4Chat

gpt-4

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

7.5/10

DarkAI

gpt-4o

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

8/10

Mhystical

gpt-4-32k

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

6.5/10

PizzaGPT

gpt-4o-mini

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

7.5/10

Meta AI

meta-llama-3.1

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

7/10, recent model with internet access.

Replicate

mixtral-8x7b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

?/10

Replicate

meta-llama-3.1-405b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

?/10

Replicate

meta-llama-3-70b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Medium

?/10

Replicate

meta-llama-3-8b

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Fast

?/10

Phind

Phind Instant

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Extremely fast

8/10

Google Gemini

auto (gemini-1.5-pro, gemini-1.5-flash)

▶️ 📄

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

Very fast

9/10, very good overall model but requires an API Key. (It's _free_, see the section below)

GPT4Free Local API

\-

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

\-

allows access to a large variety of providers. [read more](https://github.com/XInTheDark/raycast-g4f/wiki/Help-page:-Manage-Custom-APIs)

Ollama Local API

\-

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

\-

allows local inference. [read more](https://github.com/XInTheDark/raycast-g4f/wiki/Help-page:-Manage-Custom-APIs)

Custom OpenAI-compatible API

\-

▶️

[![Active](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)](https://camo.githubusercontent.com/f6568efc8f8bfc2737658c067da51b51e7bf672f372da8ed9e3d05a16efd2ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4163746976652d627269676874677265656e)

\-

allows you to use any custom OpenAI-compatible API. [read more](https://github.com/XInTheDark/raycast-g4f/wiki/Help-page:-Manage-Custom-APIs)

▶️ - Supports streaming.

📄 - Supports file upload. **Note**: By default, all providers support basic file upload functionality for text-based files, like .txt, .md, etc.

_¹: Supports images only._

### Provider-specific notes

[](#provider-specific-notes)

-   **Google Gemini**: An API Key is required to use this model. You can get one _completely for free_:

1.  Go to [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey)
2.  Sign in to your Google account if you haven't done so.
3.  Click on "Create API Key" and follow the instructions there.
4.  Copy the API Key and paste it into the corresponding box in the extension preferences.

The rate limit for Google Gemini is 1500 requests per day (as of the time of writing). This should be much more than enough for any normal usage. If your use case needs an increased rate limit, you can even create multiple API Keys with different Google accounts; separate them with commas in the preferences.

-   **Google Gemini**: This provider supports **File upload** functionality, as well as the **Ask About Screen Content** command! To upload a file in AI Chat, press Command-Enter or select "Compose Message" from the actions. Then, simply click on the upload button to get started.

## Features

[](#features)

### Web Search

[](#web-search)

Let GPT decide to search the web for information if it does not have enough knowledge or context. Uses DuckDuckGo search, fast and free.

#### Usage

[](#usage)

Enabling web search is fast and easy. Go to the extension preferences, and the "Web Search" option will be available. There are 4 options:

-   Disabled (default)
-   Automatic: Enable Web Search only in AI Chat. GPT will automatically decide when to use it.
-   Balanced: Use Web Search in every query for AI commands¹, and automatically in AI Chat. This is basically an extension of the "Automatic" option.
-   Always: Always use Web Search for every query, both in AI Chat and in commands¹.

_¹: Commands that support Web Search are: Ask AI, Ask About Selected Text, Explain. Other commands will not use Web Search._

Web Search is also available in the following commands:

-   Custom AI Commands: You can enable Web Search for each command individually.
-   AI Chat: You can enable Web Search for each chat individually.
-   AI Presets: You can enable Web Search for each preset individually.

### Smart Chat Naming

[](#smart-chat-naming)

Let GPT automatically come up with a name for the current chat session after you send the first message. For example, this is similar to what the ChatGPT web UI does.

### Automatically Check for Updates

[](#automatically-check-for-updates)

Let the extension automatically check for updates every day. If a new version is available, you will be notified, along with the option to update the extension with a single click.

### Persistent Storage

[](#persistent-storage)

Enable more persistent storage of the extension's data, like AI Chat data or Custom Commands. This will back up a copy of this data to files on your computer. Useful for saving large amounts of data. _Note: With this option off, your data is already well preserved. Do not enable this if you have sensitive data._

### Enable Cursor Icon

[](#enable-cursor-icon)

Show a cursor icon when the response is loading - cosmetic option only.

### Code Interpreter (BETA)

[](#code-interpreter-beta)

Allows GPT to execute Python code locally. The model has been instructed to strictly only produce safe code, but use at your own risk!

Only models with function calling capabilities support this feature. Currently, this includes only selected DeepInfra models.

---

## FAQs

[](#faqs)

### Why is this extension not on the official Raycast store?

[](#why-is-this-extension-not-on-the-official-raycast-store)

-   I submitted it when the extension was in its early stages, but since Raycast is quite conservative about adding AI extensions, it was rejected because of concerns over the use of third-party APIs. I think this is a valid concern, and I'd like to be very transparent about where your data is going to, so I'll be writing all the details in the project homepage really soon. But do rest assured that I use safe APIs from legitimate websites; I also update the extension very frequently so all the providers I use will be up-to-date.
-   Thus, the extension will have to be installed from source. Regarding this, I apologize as it's indeed more complicated than downloading it from the store. I have tried my best to make the installation process quick and streamlined - please do provide feedback on whether it was simple enough!

### How does this extension compare to the paid Raycast AI?

[](#how-does-this-extension-compare-to-the-paid-raycast-ai)

-   raycast-g4f is completely free! I strongly believe that such AI features, especially in an awesome productivity tool like Raycast, shouldn't be locked behind a paywall.
-   Raycast AI definitely has more model options, but the quality of AI in this extension is, in my opinion, comparable. Some models available here are gpt-4, gpt-4o, Claude 3.5 Sonnet and Google Gemini, as well as capable open-source models like Llama 3.1. If you still doubt it, I'd encourage you to give the extension a try! :)

### Why is the UI worse than Raycast AI?

[](#why-is-the-ui-worse-than-raycast-ai)

-   Because the developer API that Raycast provides is limited, it's not possible to replicate the Raycast AI interface exactly. The components I can use are very simple, and a lot of the features in built-in Raycast commands are not available to extension developers.
-   However, I've spent a lot of effort trying to make the UI really intuitive, and I'm always open to feedback on how to improve it!

### The extension isn't working! (e.g. I sent a message but there is no response)

[](#the-extension-isnt-working-eg-i-sent-a-message-but-there-is-no-response)

-   Sometimes third party providers can be slow or unresponsive. If you're experiencing this issue, please try again in a few minutes; or if the problem persists, please try switching to another provider.
-   If you've tried various providers and the issue still persists, please open an issue on GitHub!

### How do I contribute to the extension?

[](#how-do-i-contribute-to-the-extension)

-   I welcome all contributions! If you have an idea for a new feature, or if you've found a bug, please open an issue.
-   If you'd like to contribute code, please open a pull request, and I'll make sure to review it as soon as possible.

---

## Star History

[](#star-history)

[![Star History Chart](https://camo.githubusercontent.com/fa74bc69cc85d3192a4b9d68eeb65942df2ae6ef90ba1117e1d28d553aaa7e5e/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d58496e5468654461726b2f726179636173742d67346626747970653d44617465)](https://star-history.com/#XInTheDark/raycast-g4f&Date)

## License & Acknowledgements

[](#license--acknowledgements)

License: GPLv3. Full license is found in LICENSE.txt.

The code base is derived from [Raycast Gemini](https://github.com/raycast/extensions/tree/main/extensions/raycast-gemini) by Evan Zhou.

Third-party libraries used for generation:

-   [g4f-image](https://www.npmjs.com/package/g4f-image)
-   [gemini-g4f](https://www.npmjs.com/package/gemini-g4f)

_(Both packages are maintained by the extension author.)_

Some of the code in this repository was inspired or ported from the original [gpt4free](https://github.com/xtekky/gpt4free) project (written in Python).

summarize