You can create a Solana token with a handful of terminal commands or with a no-code web tool. This guide runs the official spl-token command line flow from start to finish and shows the output of each command. It also gives the cost of each step in lamports, explains what mint and freeze authority are, and compares the fees that no-code creators charge.
The tests ran on 8 November 2026 in a Docker container with the Solana CLI 4.3.2 (Agave) and spl-token-cli 5.6.1, installed with the official script from release.anza.xyz. No mainnet network or real funds were used. The public devnet faucet refused every airdrop request from the container, so the flow ran against solana-test-validator, a local test network that runs the real Token and Token-2022 programs. Fees and rent come from the programs, but the amounts below were measured locally, not on devnet.
What a Solana token is
A Solana token is an entry in a token program, not a separate smart contract that you deploy. Three objects matter.
- The mint account identifies the token. Its address is the token's identifier in wallets and explorers. It records the total supply, the number of decimals, and two optional authorities.
- A token account holds one wallet's balance of one token. A wallet needs one token account for each token it holds.
- The mint authority can create new supply. The freeze authority can lock a holder's token account. According to the Solana documentation, a mint with no mint authority has a fixed supply and no further tokens can be minted.
Solana has two token programs. The original Token program is the older and simpler one. Token-2022, also called the Token Extension Program, adds optional features such as metadata stored on the mint itself. The Solana quickstart uses the original program and shows Token-2022 as an option for metadata.
Two ways to create the token
CLI (spl-token) | No-code creator | |
|---|---|---|
| What you do | Install the tools, run commands | Connect a wallet, fill in a form |
| What you pay | Network fees and rent only (about 0.0055 SOL in the test below) | A service fee, from 0.2 SOL to 0.5 SOL on the pages checked, plus gas |
| Authority changes | One command each, network fee only | Labelled free on one page, 0.1 SOL each on three, no price on one |
| Devnet testing | Yes | Depends on the tool: one page says devnet is free, another says it is mainnet only |
| Where the keys are | In a file on your machine | In your wallet, which signs the transaction the tool prepares |
The CLI is the better choice when you want to know exactly what the transaction does and are willing to learn the commands. A no-code creator saves time but adds a fee and means you trust its transaction. The next sections show the CLI route, then the fees on the other side.
Create a token with the CLI
The commands follow the quickstart in the Solana documentation. Addresses in your output will differ from the ones shown here.
1. Install the tools and create a keypair
The official installer puts the solana, solana-keygen and spl-token programs on your path.
$ curl -sSfL https://release.anza.xyz/stable/install | sh
$ solana --version
solana-cli 4.3.2 (src:0f131d36; feat:c9ad34d2, client:Agave)
$ spl-token --version
spl-token-cli 5.6.1
$ solana-keygen new --no-bip39-passphrase --outfile ~/.config/solana/id.json
pubkey: 9ykKeKBq9qpmqPQSR5qxfmP7auSjVuvjnsPZYwZE8BtC
The keypair file is your wallet for this test. Use a new keypair, never a wallet that holds real funds, and never share the file or its seed phrase.
2. Choose a network and get test SOL
On devnet the documentation tells you to run solana config set --url devnet and then solana airdrop 2. Devnet tokens have no financial value. In the test, the airdrop failed every time:
$ solana airdrop 2
Error: airdrop request failed. This can happen when the rate limit is reached.
Retries of 1 SOL and 0.5 SOL gave the same error, and the balance stayed at 0 SOL. If this happens to you, wait and try again, or run a local validator:
$ solana-test-validator
$ solana config set --url http://127.0.0.1:8899
$ solana airdrop 10
Inside Docker, the validator stops with assertion failed: io_uring_supported() under the default security profile. Starting the container with --security-opt seccomp=unconfined fixed it in this test.
3. Create the mint
This command creates the token with the Token-2022 program and the metadata extension, using a keypair file for the mint address:
$ spl-token create-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb --enable-metadata mint.json
Creating token Hdvs8zgZYScryrmP1sHkignhb76KnWzSJp7d45Qyq1Aq under program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
Address: Hdvs8zgZYScryrmP1sHkignhb76KnWzSJp7d45Qyq1Aq
Decimals: 9
Without --program-id and --enable-metadata, the command creates a token on the original Token program. Decimals default to 9. A new mint starts with a supply of zero.
4. Add the name, symbol and image link
The display output below is shortened.
$ spl-token initialize-metadata Hdvs8z... "Example Token" "EXT" "https://example.com/ext.json"
$ spl-token display Hdvs8z...
Supply: 0
Decimals: 9
Mint authority: 9ykKeKBq9qpmqPQSR5qxfmP7auSjVuvjnsPZYwZE8BtC
Freeze authority: (not set)
Metadata:
Update Authority: 9ykKeKBq9qpmqPQSR5qxfmP7auSjVuvjnsPZYwZE8BtC
Name: Example Token
Symbol: EXT
URI: https://example.com/ext.json
The URI should return a public JSON file with the description and image. The Solana documentation describes this off-chain format on its Metaplex page.
5. Create a token account and mint supply
$ spl-token create-account Hdvs8z...
Creating account 2QbgdfYnhBepXoay2avFB5Ynm5Fy2B1w1MpFQURfhUqD
$ spl-token mint Hdvs8z... 1000000
$ spl-token supply Hdvs8z...
1000000
The mint authority signs the mint command. Minting raises both the account balance and the total supply recorded on the mint.
6. Transfer tokens
$ spl-token transfer Hdvs8z... 250 6rmFw4nW6yAX9Keb4PPJWj6XqUzEF4SUXHbwsBv9LcAG --fund-recipient --allow-unfunded-recipient
Recipient associated token account: Bb9xd2QMF6wMz1ewRA9x8X3JSdEzR6uPksj1jLWfBUeK
$ spl-token accounts
Hdvs8zgZYScryrmP1sHkignhb76KnWzSJp7d45Qyq1Aq 999750
The --fund-recipient option creates the recipient's token account if it does not exist, and you pay for it. The transfer does not change the total supply.
What each step costs
One SOL is 1,000,000,000 lamports. Each command's cost is the payer's balance before it minus the balance after it. The cost has two parts: a network fee, and rent, a deposit that the Solana documentation calls a refundable minimum balance for the account's storage.
| Command | Lamports spent | Network fee | Rent deposit |
|---|---|---|---|
| Create the Token-2022 mint with metadata pointer | 2,529,520 | 10,000 | 2,519,520 |
| Initialize metadata | 895,880 | 5,000 | 890,880 |
| Create your token account | 2,079,080 | 5,000 | 2,074,080 |
| Mint supply | 5,000 | 5,000 | 0 |
| Transfer to a new recipient | 2,079,080 | 5,000 | 2,074,080 |
The first four rows add up to 5,509,480 lamports, or about 0.0055 SOL. The transfer row is the recipient's token account, which the sender pays for when it uses --fund-recipient. A mint on the original Token program was cheaper in the test: spl-token create-token --enable-freeze cost 1,471,600 lamports, of which 1,461,600 is the rent for an 82-byte mint account (solana rent 82 prints 0.0014616 SOL).
The token account costs match the Solana documentation, which lists 2,039,280 lamports (0.00203928 SOL) for an original Token program account and 2,074,080 lamports (0.00207408 SOL) for a Token-2022 account. The documentation also says not to hard-code these numbers, because they come from the cluster's storage rate. Each fee was 5,000 lamports per signature in the test, and create-token needs two signatures (the payer and the mint keypair), so its fee was 10,000 lamports.
Two points matter when you budget. Every holder needs a token account, so airdropping a token to 1,000 wallets costs about 2.04 SOL in rent at the original program's rate. And the rent is a deposit, so it is not the same kind of cost as a service fee. For a wider view of project costs, see blockchain app development cost.
Metadata: where the name and image live
The Solana documentation states that standard SPL tokens do not include a name, symbol or image. There are two ways to add them.
- The Token-2022 metadata extension stores the name, symbol, URI and update authority on the mint account itself. That is what the test above used.
- The Metaplex Token Metadata program creates a separate metadata account for each mint. The documentation says it works for both standard SPL tokens and Token-2022.
The metadata extension grows the mint account, and the documentation notes that resizing does not add lamports by itself. That is why initialize-metadata cost 890,880 lamports in rent on top of the mint. For NFTs, see the guide to NFT token development.
Revoke the authorities you do not need
Setting an authority to none removes it permanently, according to the Solana documentation. Each authority covers one risk for the people who hold your token:
- Mint authority: Helius's documentation says it controls the issuance of new tokens, so a holder's share can be diluted if it stays active.
- Freeze authority: it lets the owner freeze individual token accounts. Helius warns that it can be used to build a honeypot, a token that holders cannot sell.
- Update authority: it changes the name, symbol and logo, which Helius says can be used to mislead traders.
The commands in the test were:
$ spl-token authorize Hdvs8z... mint --disable
Current mint: 9ykKeKBq9qpmqPQSR5qxfmP7auSjVuvjnsPZYwZE8BtC
New mint: disabled
$ spl-token mint Hdvs8z... 1
Program log: Error: the total supply of this token is fixed
After that, no one can create supply, including you. Three more results from the test are worth knowing:
- A mint created with plain
spl-token create-tokenhas no freeze authority.spl-token authorize ... freeze --disableon it failed with "This token mint cannot freeze accounts". On a mint created with--enable-freeze, the same command worked. - Revoking the mint authority did not lock the metadata.
spl-token update-metadata Hdvs8z... name Renamedstill worked afterwards, because the update authority is separate. - To lock metadata on the Token-2022 mint, two more commands were needed:
spl-token authorize Hdvs8z... metadata --disableandspl-token authorize Hdvs8z... metadata-pointer --disable. After both,spl-token displayshowed the update authority and the metadata pointer authority as Disabled.
A revoked authority is not a promise of safety. A study of Solana rug pulls on arXiv (March 2026) applied its detection pipeline to 100,063 tokens issued on Orca, Raydium and Meteora in the first half of 2025 and identified 76,469 rug pull tokens. It names three patterns: freeze authority abuse, liquidity withdrawal and pump-and-dump. Of the three, only freeze authority abuse involves an authority that this guide covers. Streamflow, which sells token locking, makes the same point: revoked mint and freeze authorities stop two attacks but cannot prevent insiders from selling the supply they already hold.
Decide before launch which authorities you keep and say so publicly. A team that wants to mint more later keeps the mint authority, and a community token with a fixed supply revokes it. Raydium's glossary lists an active freeze authority as a risk for liquidity providers, and Orion's page says revoking it is required to create a liquidity pool, so the choice can affect where you can list the token.
No-code creators: what they charge and what you give up
Five no-code tools rank for this keyword. Their own pages, read on 8 November 2026, state these prices.
| Tool | Creation fee | Revoke mint, freeze or update authority | Devnet |
|---|---|---|---|
| Smithii | 0.5 SOL, "including all fees needed for SPL token creation" | +0.1 SOL each | Not stated |
| SolTokenCreator | 0.5 SOL plus network gas | +0.1 SOL each | Not supported, mainnet only |
| Orion Tools | Form total shown as 0.40 SOL, no breakdown | 0.1 SOL for freeze, 0.1 SOL for mint | Not stated |
| Alphecca | Service fee 0.2 SOL | Labelled free | Not stated |
| 20lab | Network fee plus a service fee shown in the app, not on the page | Offered, no price on the page | Free, test SOL needed for gas |
Compared with the measured CLI cost of about 0.0055 SOL for a mint, metadata and one token account, a 0.5 SOL fee is about 90 times higher. The rent is part of what these tools pay on your behalf, and Smithii's page says rent is about 0.009 SOL. The pages do not say what the rest pays for.
Alphecca's page lists a 0.2 SOL service fee and also says its options are free, including the three authority revocations. The page does not explain how the two statements fit together, so read the total in your wallet before you sign. Orion's page says all transactions are final and it issues no refunds.
What you give up with a no-code creator:
- Visibility. You sign one transaction whose steps you have not seen. The CLI shows each step, and the explorer lets you check a token's authorities afterwards either way.
- Per-step revocation at network cost. The same revocation that costs 0.1 SOL on three of the pages is one CLI command, which pays only the network fee. Each one-signature command in the test paid 5,000 lamports.
What you gain is time, because the form replaces the setup and the commands. For a quick launch of a community token, that may be worth the fee. A token that holds real value, such as a payment or a governance token, needs more than creation: an audit of any custom program, a plan for who holds the authorities, and a legal view. The smart contract audit guide covers the first and the security token offering guide covers the legal side for tokens that represent shares or debt.
Checklist before a mainnet launch
- Repeat every command on a test network and keep the output.
- Decide the supply, the decimals, and who holds the mint, freeze and update authorities.
- Host the metadata JSON and the image at a stable public address.
- Fund the payer with enough SOL for the rent rows above plus a margin.
- Create the mint, then verify it with
spl-token displayand in an explorer. - Revoke or move the authorities you decided on, and check the result again.
- Publish the mint address, the authority status and any locked or vested supply.
Teams that build more than a token, such as a staking app or a marketplace, need the program around it as well. The guide to Solana NFT marketplace development shows one such build. A token on another chain follows a different process, covered in the guides to Ethereum token development and BEP-20 token development.
Frequently asked questions
How much does it cost to create a Solana token?
With the CLI, the test cost about 0.0055 SOL (5,509,480 lamports) for a Token-2022 mint with metadata, one token account and one mint command, mostly as a refundable rent deposit. No-code creators charge from 0.2 SOL to 0.5 SOL on the pages checked on 8 November 2026.
Can I create a Solana token for free?
Not quite free, because the mint and each token account need a rent deposit and every transaction has a fee. On devnet the SOL is test SOL with no value, though the faucet refused every airdrop in this test. Alphecca's page labels authority revocation as free, but it also lists a 0.2 SOL service fee.
Do I need to code to create a Solana token?
No. The spl-token command line tool creates, mints and transfers a token with the commands shown above, and no-code creators do it through a web form. The steps in this guide used no custom program, only the standard token programs.
Should I revoke the mint and freeze authority?
Revoke the mint authority if you want a fixed supply, because without it no one can mint more. Revoke the freeze authority, or never enable it, if holders should be sure their tokens cannot be locked. Revoking the metadata update authority is a separate step that makes the on-chain name, symbol and metadata link permanent. The image file itself stays wherever the link points.
Can I test on devnet first?
Yes. The Solana quickstart uses devnet, where tokens have no financial value. If the devnet airdrop fails, a local solana-test-validator runs the same commands.
What is the difference between the original Token program and Token-2022?
Token-2022 adds optional extensions to the original program, including metadata stored on the mint. The Solana documentation lists 2,074,080 lamports for a Token-2022 token account, the same as the test measured, and 2,039,280 for an original Token program account.
Sources
Read on 8 November 2026. The Solana documentation pages were read from their source in the solana-foundation/solana-com repository, because solana.com blocked automated requests.
- Solana documentation: quickstart, create a token with the CLI
- Solana documentation: create a token account
- Solana documentation: create a mint
- Solana documentation: set authority
- Solana documentation: metadata pointer and token metadata
- Solana documentation: Metaplex metadata
- Helius: mint, freeze and update authority
- arXiv 2603.24625: Investigating Rug Pull Scams on Solana
- Streamflow: how to check if a Solana token is a rug pull
- Raydium documentation: glossary
- No-code creator pages: Smithii, SolTokenCreator, Orion Tools, Alphecca, 20lab